package com.niit.service.impl;

import com.niit.dao.UserDao;
import com.niit.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public int addUser() {
        return userDao.insert();
    }
}
